﻿/********************************************************************************
 * Developed by Phil Tyler (http://www.laidbackcoder.co.uk)
 * 
 * Cryptosolic is Licensed under the GNU Lesser General Public License (LGPL)
 * http://cryptosolic.codeplex.com/license
 * *****************************************************************************/
using System;

namespace Cryptosolic.Security.Encryption
{
	/// <summary>
	/// Block Cipher Mode of Operation
	/// </summary>
	/// <remarks>
	/// See <see href="http://en.wikipedia.org/wiki/Block_cipher_mode_of_operation" /> for more details.
	/// </remarks>
	public enum BlockCipherMode
	{
		/// <summary>
		/// Cipher Block Chaining mode
		/// </summary>
		CBC,
		
		/// <summary>
		/// Cipher Feedback mode
		/// </summary>
		CFB,
		
		/// <summary>
		/// Cipher Text Stealing mode
		/// </summary>
		CTS,
		
		/// <summary>
		/// Electronic Codebook mode
		/// </summary>
		ECB,
		
		/// <summary>
		/// Output Feedback mode
		/// </summary>
		OFB
	}
}
